/**
 * IntroduceItem
 */

 import consts from "../../../../../consts/consts";
 import storage from "../../../../../utils/storage";
 import React,{Component} from "react";

 class IntroduceItem extends Component{
    handleOnEditContent(){
//        var data = this.props.data;
//        storage.data.selectedWidgetId = data.id;
//
//        var root = this.props.root;
//        root.openDialog(consts.WIDGET_TYPE.EXTEND,true , data ,true);
        const {data,selectedWidgetId} = this.props;
        console.log("open dialog");
    }
    render(){
        return (
            <button onClick={() => this.handleOnEditContent()}>{$._("Edit extend")}</button>
        )
    }
 }

 module.exports = IntroduceItem;
